drawcontext: Only pass the region that matters
authorBenjamin Otte <otte@redhat.com>
Mon, 23 Apr 2018 21:26:14 +0000 (23:26 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 24 Apr 2018 21:16:58 +0000 (23:16 +0200)
commit83ea0b371417b4d20071c6203454c0781a544960
tree408b941f5c15a10c7457007030f74820a03f4320
parentfd686afeb2bba843c7b63a5b2284141981042439
drawcontext: Only pass the region that matters

We used to pass 2 regions to GdkDrawCotnext.end_frame() but code was
confusing what they meant. So we now don't do that anymore and only pass
the region that matters: The frame region.
gdk/gdkdrawcontext.c
gdk/gdkdrawcontextprivate.h
gdk/gdkglcontext.c
gdk/gdkvulkancontext.c
gdk/wayland/gdkcairocontext-wayland.c
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdkvulkancontext-wayland.c
gdk/win32/gdkglcontext-win32.c
gdk/x11/gdkcairocontext-x11.c
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkvulkancontext-x11.c